package encore.portal.container.services;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import encore.portal.container.PortletActionResponseContext;
import encore.portal.container.PortletContainer;
import encore.portal.container.PortletEventResponseContext;
import encore.portal.container.PortletRenderResponseContext;
import encore.portal.container.PortletRequestContext;
import encore.portal.container.PortletResourceRequestContext;
import encore.portal.container.PortletResourceResponseContext;
import encore.portal.container.PortletWindow;

public interface PortletRequestContextService {

	public PortletRequestContext getPortletActionRequestContext(
	 PortletContainer portletContainer,HttpServletRequest request,
	 HttpServletResponse response,PortletWindow portletWindow
	);
	
	public PortletRequestContext getPortletEventRequestContext(
			 PortletContainer portletContainer,HttpServletRequest request,
			 HttpServletResponse response,PortletWindow portletWindow
			);
	
	
	public PortletResourceRequestContext getPortletResourceRequestContext(
			 PortletContainer portletContainer,HttpServletRequest request,
			 HttpServletResponse response,PortletWindow portletWindow
			);
	
	
	public PortletRequestContext getPortletRenderRequestContext(
			 PortletContainer portletContainer,HttpServletRequest request,
			 HttpServletResponse response,PortletWindow portletWindow
			);
	
	public PortletActionResponseContext getPortletActionResponseContext(
			 PortletContainer portletContainer,HttpServletRequest request,
			 HttpServletResponse response,PortletWindow portletWindow
			);
	
	public PortletEventResponseContext getPortletEventResponseContext(
			 PortletContainer portletContainer,HttpServletRequest request,
			 HttpServletResponse response,PortletWindow portletWindow
			);
	
	public PortletResourceResponseContext getPortletResourceResponseContext(
			 PortletContainer portletContainer,HttpServletRequest request,
			 HttpServletResponse response,PortletWindow portletWindow
			);
	
	public PortletRenderResponseContext getPortletRenderResponseContext(
			 PortletContainer portletContainer,HttpServletRequest request,
			 HttpServletResponse response,PortletWindow portletWindow
			);
	
}
